<script src="../media/system/js/mootools-core.js" type="text/javascript"></script>
<script src="../media/system/js/core.js" type="text/javascript"></script>
<form action="index.php?top=page&option=com_frcenter" method="post" name="adminForm" id="adminForm">
<!-- LEFT -->
 <?php echo $this->loadTemplate('search','default') ?>
 

 <!-- END LEFT -->
 <!-- CONTENT -->
 <div id="jm-content">
    <div class="cc title">
        <div class="id"><?php echo $this->info_ocba->OCBA_CODE; ?></div>
        <div class="cc-title">
            <p class="top"><?php echo $this->info_ocba->OCBA_KANA; ?></p>
            <p class="bot"><?php echo $this->info_ocba->OCBA_NAME; ?><span class="float-right">【<?php echo $this->info_ocba->OCBA_SHOR; ?>】</span></p>
        </div>
    </div>
    <div class="clearfix"></div>
    <div class="menu-cc">
        <ul id="nav">
        
        <?php 
            foreach(bgData::getMenuDetailCenter() as $key=>$item){
                $acctive = 'normal';
                if(JRequest::getVar('task') == $key){
                    $acctive = 'current';
                }
         ?>
            <li class="<?php echo $acctive; ?>"><a href="index.php?top=page&option=com_frcenter&task=<?php echo $key; ?>&id=<?php echo $this->row->OCBA_CODE; ?>"><?php echo $item; ?></a></li>
          <?php } ?>
            
        </ul>
    </div>
    
    <div id="">     
     <h3 class="h_title">利用人数<span class="right"></span></h3>     
        <div class="info-basic">                                
            <div>
           <table border=0 width="100%">
            <tr><td class="title_">数値情報</td></tr>
                <tr>
                    <td align="left"> 期間：2013年7月28日～2013年8月3日	</td>
                    <td style="width: 5%;"></td>
                    <td align="right">
                        <?php echo JHtml::calendar('', 'cal1_name', 'cal1_id');?>
                        <button>移動</button>
                        <button>グラフ表示</button>
                        <a href="index.php?top=page&option=com_frcenter&task=data_year">年間表示画面へ</a>
                   </td>
                </tr>
           </table>
           
           <?php
           
           ?>
           <table width="100%" cellpadding="0" cellspacing="0" id="tb_blue" border=1>
                <tbody>
                
                    <th>施設</th>
                    <th>ジャンル</th>
                    <th>28日(日)</th>
                    <th>29日(月)</th>
                    <th>30日(火)</th>
                    <th>31日(水)</th>
                    <th>1日(木)</th>
                    <th>2日(金)</th>
                    <th>3日(土)</th>
                    <tr>
                        <td style="width: 5%;" rowspan="10" class="center">第<br/>一<br/>体<br/>育<br/>館<br/> </td>
                        <td style="width: 20%;">稼働日数</td>
                        <td class="number">1</td>
                        <td class="number">1</td>
                        <td class="number">1</td>
                        <td class="number"></td></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        
                    </tr>
                    <tr>
                        
                        <td style="width: 20%;">大会事業数</td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        
                    </tr>
                    <tr>
                        
                        <td style="width: 20%;">大会人数</td>
                        <td class="number">0</td>
                        <td class="number">0</td>
                        <td class="number">0</td>
                        <td class="number"></td></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        
                    </tr>
                    <tr>
                       
                        <td style="width: 20%;">教室事業数</td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        
                    </tr>
                    <tr>
                      
                        <td style="width: 20%;">教室人数</td>
                        <td class="number">0</td>
                        <td class="number">0</td>
                        <td class="number">10</td>
                        <td class="number"></td></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        
                    </tr>
                    <tr>
                        
                        <td style="width: 20%;">学校利用人数</td>
                        <td class="number">0</td>
                        <td class="number">0</td>
                        <td class="number">9</td>
                        <td class="number"></td></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        
                    </tr>
                    <tr>
                    
                        <td style="width: 20%;">グループ利用団体数</td>
                        <td class="number">1</td>
                        <td class="number">1</td>
                        <td class="number">2</td>
                        <td class="number"></td></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        
                    </tr>
                    <tr>
                        
                        <td style="width: 20%;">グループ利用人数</td>
                        <td class="number">44</td>
                        <td class="number">44</td>
                        <td class="number">16</td>
                        <td class="number"></td></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        
                    </tr>
                    <tr>
                        
                        <td style="width: 20%;">一般利用人数</td>
                        <td class="number">0</td>
                        <td class="number">0</td>
                        <td class="number">0</td>
                        <td class="number"></td></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        
                    </tr>
                    <tr class="total">
                        
                        <td style="width: 20%;">人数小計</td>
                        <td class="number">44</td>
                        <td class="number">44</td>
                        <td class="number">35</td>
                        <td class="number">0</td></td>
                        <td class="number">0</td>
                        <td class="number">0</td>
                        <td class="number">0</td>    
                    </tr>
                </tbody>
            </table>
            <table width="100%" cellpadding="0" cellspacing="0" id="tb_blue" border=1>
                <tbody>
                
                    <th>施設</th>
                    <th>ジャンル</th>
                    <th>28日(日)</th>
                    <th>29日(月)</th>
                    <th>30日(火)</th>
                    <th>31日(水)</th>
                    <th>1日(木)</th>
                    <th>2日(金)</th>
                    <th>3日(土)</th>
                    <tr>
                        <td style="width: 5%;" rowspan="10" class="center">第<br/>一<br/>体<br/>育<br/>館<br/> </td>
                        <td style="width: 20%;">稼働日数</td>
                        <td class="number">1</td>
                        <td class="number">1</td>
                        <td class="number">1</td>
                        <td class="number"></td></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        
                    </tr>
                    <tr>
                        
                        <td style="width: 20%;">大会事業数</td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        
                    </tr>
                    <tr>
                        
                        <td style="width: 20%;">大会人数</td>
                        <td class="number">0</td>
                        <td class="number">0</td>
                        <td class="number">0</td>
                        <td class="number"></td></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        
                    </tr>
                    <tr>
                       
                        <td style="width: 20%;">教室事業数</td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        
                    </tr>
                    <tr>
                      
                        <td style="width: 20%;">教室人数</td>
                        <td class="number">0</td>
                        <td class="number">0</td>
                        <td class="number">10</td>
                        <td class="number"></td></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        
                    </tr>
                    <tr>
                        
                        <td style="width: 20%;">学校利用人数</td>
                        <td class="number">0</td>
                        <td class="number">0</td>
                        <td class="number">9</td>
                        <td class="number"></td></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        
                    </tr>
                    <tr>
                    
                        <td style="width: 20%;">グループ利用団体数</td>
                        <td class="number">1</td>
                        <td class="number">1</td>
                        <td class="number">2</td>
                        <td class="number"></td></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        
                    </tr>
                    <tr>
                        
                        <td style="width: 20%;">グループ利用人数</td>
                        <td class="number">44</td>
                        <td class="number">44</td>
                        <td class="number">16</td>
                        <td class="number"></td></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        
                    </tr>
                    <tr>
                        
                        <td style="width: 20%;">一般利用人数</td>
                        <td class="number">0</td>
                        <td class="number">0</td>
                        <td class="number">0</td>
                        <td class="number"></td></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        <td class="number"></td>
                        
                    </tr>
                    <tr class="total">
                        
                        <td style="width: 20%;">人数小計</td>
                        <td class="number">44</td>
                        <td class="number">44</td>
                        <td class="number">35</td>
                        <td class="number">0</td></td>
                        <td class="number">0</td>
                        <td class="number">0</td>
                        <td class="number">0</td>    
                    </tr>
                </tbody>
            </table>
            
            <table width="100%" cellpadding="0" cellspacing="0" id="tb_blue" border=1>
                <tbody>
                    <tr class="total">
                        <th style="width: 5%;"></th>
                        <th style="width: 20%;">人数合計</th>
                        <th class="number">44</th>
                        <th class="number">44</th>
                        <th class="number">35</th>
                        <th class="number">0</th>
                        <th class="number">0</th>
                        <th class="number">0</th>
                        <th class="number">0</th>    
                    </tr>
                </tbody>
            </table>   
             <input type="hidden" name="task" value=""/>
             <input type="hidden" name="boxchecked" value="0"/>       
                         
         </div>
        </div>                               
        
</div>
    
 </div>
 <!-- END CONTENT -->

</form>
                           
<script>

window.addEvent('domready', function() {Calendar.setup({
    	// Id of the input field
    	inputField: "cal1_id",
    	// Format of the input field
    	ifFormat: "%Y/%m/%d",
    	// Trigger for the calendar (button ID)
    	button: "cal1_id",
    	// Alignment (defaults to "Bl")
    	align: "Bl",
    	singleClick: true,
    	firstDay: 0
	});
});
</script>
